import React from 'react';
import { Link } from 'react-router-dom';
class FootBox extends React.Component{
    constructor(props){
        super(props)
    }
   render(){
       return(
        <a href="javascript:;" className="weui-tabbar__item">
        <div className="weui-tabbar__icon">
          <img src={''+this.props.img} alt=""/>
        </div>
        <p className="weui-tabbar__label l">{this.props.name}</p>
      </a>
       )
   }
}
export default FootBox;